package com.ipacs.abs4j.testcode.absSchema;

import java.util.List;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class YtestSchema {
	
	public static void main(String[] args) {
		/* ***/
        ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("9996Conf.xml");
        DefaultMessageProcessChain flow= (DefaultMessageProcessChain)ctx.getBean("9996") ;
        
        List<MessageProcessor> ls= flow.getProcessors() ;
        
        for(int i=0 ;i<ls.size();i++) {       	
        	System.out.println(ls.get(i));
        }
        
        Context context = new Context() ;
        context.Put("TELLER", "122344");
        flow.doProcess(context);     
    }

}
